class ContactUsMailer < ActionMailer::Base

  def contact(name, fromemail, comments)
    @subject    = '[Quoteopedia] - Contact Us'
    @recipients = 'hjw3001@gmail.com'
    @from       = fromemail
    body["name"] = name
    body["email"] = fromemail
    body["comments"] = comments
  end
  
end
